//
//  LDTAVManager.h
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface LDTAVManager : NSObject

///播放器
@property(nonatomic,strong,readonly)AVPlayer *player;
///播放列表
@property(nonatomic,strong)NSMutableArray *itemArray;
///当前下标
@property(nonatomic,assign)NSInteger currentIndex;


///播放
- (void)play;
///暂停
- (void)pause;
///跳转
- (void)seekToTime:(CMTime)time;
///上一首
- (void)previous;
///下一首
- (void)next;


///单例方法
+ (instancetype)shareManager;


@end
